package com.chenglai.goods.dao;

import com.chenglai.goods.pojo.GoodsCart;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

/**
 * 类描述：
 *
 * @Author rxh
 * @Date 2023/11/17 14:15
 */
@Repository
public interface GoodsCartMapper extends Mapper<GoodsCart>, MySqlMapper<GoodsCart> {

    @Select("select spec_inventory from dbo.t_cl_goods_inventory where inventory_id = #{inventoryId}")
    Integer getInventoryCount(Integer inventoryId);


}
